home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobbs / nov95 / kofof101.gif < prev    next >
Graphics Interchange Format  |  1996-06-12  |  92KB  |  451x496  |  4-bit (16 colors)
Labels: text | map | diagram | screenshot | plan | number | parallel | schematic | line
OCR: (a) (b) Stack 2000 2000 Pointer main main 10000 5000 start Stack Original (a,5000) Grows Main Stack (12000,2000) a returns b returns b returns start (b,3000) (e) (d) 2000 mein -2000 main 2000 main 3000 start 5000 5000 (a,3000) a retums 2000 3000 3000 start 3000 a returns b (2,5000) b 2000 2000 2000 Figure 1: (a) Stack before initialization; (b) stack after initialization; (c) starting a new task a with stack size 5000; (d) starting a new task b with stack size 3000; (e) a bas finished, leaving b between two free blocks; (f) a is Started again with a smaller stack size.